home *** CD-ROM | disk | FTP | other *** search
- object SyntAnal10: TLibSyntAnalyzer
- Formats = <
- item
- DisplayName = 'Default'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- FormatType = ftCustomFont
- end
- item
- DisplayName = 'Symbol'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clMaroon
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Number'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clNavy
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'String'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlue
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Identifier'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- end
- item
- DisplayName = 'Reserved word'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Comment'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clRed
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsBold]
- end
- item
- DisplayName = 'Preprocessor'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clGreen
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = [fsItalic]
- end
- item
- DisplayName = 'Marked block'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clHighlightText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- BgColor = clHighlight
- FormatType = ftColor
- end>
- TokenRules = <
- item
- DisplayName = 'Any name'
- StyleName = 'Identifier'
- TokenType = 2
- Expression = '[a-z_]\w*'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Comment 3'
- StyleName = 'Comment'
- TokenType = 1
- Expression = '//.*'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Preprocessor'
- StyleName = 'Preprocessor'
- TokenType = 9
- Expression = '\#.*'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Symbol'
- StyleName = 'Symbol'
- TokenType = 3
- Expression = '[/\*,\.;:\(\)=<>\+\-\[\]@]'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'String'
- StyleName = 'String'
- TokenType = 4
- Expression = '".*?("|$)'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Float'
- StyleName = 'Number'
- TokenType = 6
- Expression = '\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'\d+ \. \d+'
- ColumnFrom = 0
- ColumnTo = 0
- end
- item
- DisplayName = 'Integer'
- StyleName = 'Number'
- TokenType = 5
- Expression = '\d+'
- ColumnFrom = 0
- ColumnTo = 0
- end>
- BlockRules = <
- item
- DisplayName = 'Key words'
- StyleName = 'Reserved word'
- BlockType = btTagDetect
- ConditionList = <
- item
- TagList.Strings = (
- 'announce'
- 'begin'
- 'break'
- 'case'
- 'class'
- 'continue'
- 'declare'
- 'do'
- 'else'
- 'elseif'
- 'end'
- 'endcase'
- 'endclass'
- 'enddo'
- 'endif'
- 'endsequenc'
- 'exit'
- 'exported'
- 'field'
- 'for'
- 'function'
- 'hidden'
- 'if'
- 'in'
- 'init'
- 'local'
- 'memvar'
- 'method'
- 'next'
- 'nil'
- 'note'
- 'otherwise'
- 'parameters'
- 'private'
- 'procedure'
- 'protected'
- 'public'
- 'recover'
- 'request'
- 'return'
- 'self'
- 'sequence'
- 'static'
- 'step'
- 'then'
- 'to'
- 'using'
- 'var'
- 'while')
- TokenTypes = 4
- IgnoreCase = True
- end>
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'function start'
- ConditionList = <
- item
- TagList.Strings = (
- 'function')
- TokenTypes = 4
- IgnoreCase = True
- end>
- BlockEnd = 'function end'
- NameFmt = '%s0 %s-1'
- HighlightPos = cpAny
- IgnoreAsParent = False
- end
- item
- DisplayName = 'function end'
- BlockType = btRangeEnd
- ConditionList = <
- item
- TagList.Strings = (
- 'return')
- TokenTypes = 4
- IgnoreCase = True
- end>
- HighlightPos = cpAny
- IgnoreAsParent = False
- end>
- CodeTemplates = <>
- SubAnalyzers = <>
- TokenTypeNames.Strings = (
- 'Unknown'
- 'Comment'
- 'Identifier'
- 'Symbol'
- 'String'
- 'Integer const'
- 'Float const'
- 'Hex const'
- 'Char const'
- 'Preprocessor')
- MarkedBlockStyle = 'Marked block'
- DefaultStyleName = 'Default'
- LexerName = 'Clipper'
- end
-